package com.proyecto.core.modelo.servicio.interfaces;

import java.util.List;

import org.hibernate.Session;

public interface IDAOTransaccion1 {

	public void save(Object o);

	public void delete(Object o);

	public Object findById(Object o);

	public List findByExample(Object o);

	public List findByProperty(String propertyName, Object value);

	public List findAll();

	public Object merge(Object o);

	public void attachDirty(Object o);

	public void attachClean(Object o);

	public List buscarPorPropiedad(String[] atributo, Object[] valor,
			int tipoBusqueda);
	public List countBusqueda(String[] atributo, Object[] valor, int tipoBusqueda);
	
	public List ejecutarQueryConsulta(String query);
	
	public void ejecutarQuerySession(String sentencia, Session sesion);
	
}
